package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Setter@Getter
public class RechargeItem {
    private Long id;

    private Integer operation;

    private Employee opUser;

    private BigDecimal beforeBalance;

    private BigDecimal income;

    private BigDecimal afterBalance;

    private BigDecimal addincome;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private Date optime;

    private String info;

    private Client client;


}